home *** CD-ROM | disk | FTP | other *** search
/ Clickx 115 / Clickx 115.iso / software / tools / windows / tails-i386-0.16.iso / live / filesystem.squashfs / usr / include / scribus-ng / documentchecker.h < prev    next >
Encoding:
C/C++ Source or Header  |  2006-10-21  |  1.7 KB  |  42 lines

  1. /*
  2. For general Scribus (>=1.3.2) copyright and licensing information please refer
  3. to the COPYING file provided with the program. Following this notice may exist
  4. a copyright and/or license notice that predates the release of Scribus 1.3.2
  5. for which a new license (GPL+exception) is in place.
  6. */
  7. /***************************************************************************
  8.     begin                : 2005
  9.     copyright            : (C) 2005 by Franz Schmid
  10.     email                : Franz.Schmid@altmuehlnet.de
  11.     copyright            : (C) 2005 by Craig Bradney
  12.     email                : cbradney@zip.com.au
  13. ***************************************************************************/
  14.  
  15. /***************************************************************************
  16. *                                                                         *
  17. *   ScMW program is free software; you can redistribute it and/or modify  *
  18. *   it under the terms of the GNU General Public License as published by  *
  19. *   the Free Software Foundation; either version 2 of the License, or     *
  20. *   (at your option) any later version.                                   *
  21. *                                                                         *
  22. ***************************************************************************/
  23.  
  24. #ifndef DOCUMENTCHECKER_H
  25. #define DOCUMENTCHECKER_H
  26.  
  27. #include "scribusapi.h"
  28. class ScribusDoc;
  29.  
  30. /*! \brief It create a error/warning list for CheckDocument GUI class.
  31. All errors and/or warnings are stored in errorCodes (inheritted QMap
  32. see scribusstructs.h) and parsed into tree view in CheckDocument widgets.
  33. */
  34. class SCRIBUS_API DocumentChecker
  35. {
  36.     public:
  37.         //! Check the passed document for errors, return true on error found
  38.         static bool checkDocument(ScribusDoc *currDoc);
  39. };
  40.  
  41. #endif
  42.